package com.example.application.bean;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * author: fangjie email: syfangjie@live.cn date: 2021/1/3 10:07 上午
 */
@Data
public class Info {

  //销售渠道
  @ExcelProperty("DEMAND_CHANNEL_GRP")
  private String DEMAND_CHANNEL_GRP;

  //上市季节
  @ExcelProperty("DEMAND_SEASON")
  private String DEMAND_SEASON;

  //仓库
  @ExcelProperty("PLANT")
  private String PLANT;

  //产品
  @ExcelProperty("PRODUCT")
  private String PRODUCT;

  //产品类型
  @ExcelProperty("MDLDESC")
  private String MDLDESC;

  //到货时间
  @ExcelProperty("TASK_DATE_GR")
  private String TASK_DATE_GR;

  // 到货数量
  @ExcelProperty("RPTG_CNFRM_QTY")
  private String RPTG_CNFRM_QTY;

  @ExcelProperty("PLNGCTRYCD")
  private String PLNGCTRYCD;
  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("{");
    sb.append("\"DEMAND_CHANNEL_GRP\":\"")
        .append(DEMAND_CHANNEL_GRP).append('\"');
    sb.append(",\"DEMAND_SEASON\":\"")
        .append(DEMAND_SEASON).append('\"');
    sb.append(",\"PLANT\":\"")
        .append(PLANT).append('\"');
    sb.append(",\"PRODUCT\":\"")
        .append(PRODUCT).append('\"');
    sb.append(",\"MDLDESC\":\"")
        .append(MDLDESC).append('\"');
    sb.append(",\"TASK_DATE_GR\":\"")
        .append(TASK_DATE_GR).append('\"');
    sb.append(",\"RPTG_CNFRM_QTY\":\"")
        .append(RPTG_CNFRM_QTY).append('\"');
    sb.append('}');
    return sb.toString();
  }
}
